"DESCRIPTION 1"="By default, Windows 2000 enables you encrypt any folder."
"DESCRIPTION 2"="This plug-in can be used to disable this "Encryption" feature for some folders. If a folder has been picked and encryption has been disabled, the user will no longer be able to encrypt it and an error message will be displayed if he tries to do this ("This directory has been disabled for encryption")."
"DESCRIPTION 3"="Please note that this plug-in *DOES NOT* actual encrypt the folder, it can only used to allow or disallow the user this encryption."
"DESCRIPTION 4"=" "
"DESCRIPTION 5"="USAGE: First pick a folder, then click "Apply changes". Enter "1" to enable encryption or "0" to disable encryption."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"=""
sFile="desktop.ini"
sSec="Encryption"
sValName="Disable"
Sub Plugin_Initialize
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
sPath=GetUIElement(1)
if right(sPath,1)<>"\" then
sPath=sPath & "\"
end if
sValue=IniReadValue(sPath & sFile,sSec,sValName)
if sValue="0" or IsEmpty(sValue) then
bEnabled=true
sText="Folder can be encrypted. Enter ┤0┤ to disable"
else
bEnabled=false
sText="Folder is *DISABLED* for encryption. Enter ┤1┤ to enable"